<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>BBS Demo</title>

    <!-- Bootstrap -->
    <!-- <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> -->
    <!-- <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css" rel="stylesheet"> -->
    <link href="http://netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet">
    
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    
    <link rel="stylesheet" href="./lib/css/jquery.mCustomScrollbar.min.css">
    <link rel="stylesheet" href="./lib/css/jquery.emoji.css">
    <link rel="stylesheet" href="./css/index.css">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <nav class="navbar navbar-default navbar-fixed-top"id="nav-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">BBS Demo</a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <ul class="nav nav-tabs navbar-nav" role="tablist" id="myTabs">
            <li id="home-toggle" data-toggle="tooltip" data-placement="bottom" title="最新" class="active"><a href="#home"><i class="glyphicon glyphicon-time"></i></a></li>
            <li id="topic-toggle"data-toggle="tooltip" data-placement="bottom" title="话题"><a href="#topies"><i class="glyphicon glyphicon-th-large" ></i></a></li>
            <li id="user-toggle"data-toggle="tooltip" data-placement="bottom" title="用户"><a href="#user_center"><i class="glyphicon glyphicon-user"></i></a></li>
            <li id="setting-toggle"data-toggle="tooltip" data-placement="bottom" title="管理"><a href="#settings"><i class="glyphicon glyphicon-cog"></i></a></li>
          </ul>
          <ul class="nav navbar-nav navbar-right">
            <form class="navbar-form form-inline navbar-left" id="qs">
              <div class="form-group">
                <select class="form-control" name="search_type">
                  <option value="topic" selected="selected">话题</option>                  
                  <option value="note">主题</option>
                </select>
              </div>
              <div class="form-group">
                <input type="text" class="form-control" name="key_word" placeholder="搜索">
              </div>
              <button type="submit" class="btn btn-default glyphicon glyphicon-search"></button>
            </form>
            <li class="dropdown" id="user_dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span id="user">游客</span> <span class="caret"></span></a>
              <ul class="dropdown-menu">
                <li><a href="/lnr.html">注册/登陆</a></li>
              </ul>
            </li>
          </ul>
        </div><!-- /.navbar-collapse -->
      </div>
    </nav>
    <div class="main-container container-fluid row" id="main-container">
      <div class="col-xs-12 col-sm-8 col-md-9 col-lg-10" id="row-box-container">
        <div class="tab-content">
          <div class="tab-pane active" id="home">
            <div class="row-box active">
              <div class="row row-header">
                <div class="col-xs-8 row-title"><strong>测试测试测试</strong></div>
                <div class="col-xs-4 row">
                  <div class="col-xs-4 p0 tac row-count"><p><strong>10</strong></p><p><sub>测试</sub></p></div>
                  <div class="col-xs-4 p0 tac row-count"><p><strong>10</strong></p><p><sub>测试</sub></p></div>
                  <div class="col-xs-4 p0 tac row-count"><p><strong>10</strong></p><p><sub>测试</sub></p></div>                  
                </div>
              </div><!-- row-header end  -->
              <div class="row row-body">
                <div class="col-xs-12 tac refresh p0 ">
                  <i class="glyphicon glyphicon-refresh"></i>
                </div>
              </div>
              <!-- row-body end -->
              <div class="row row-footer">
                <div class="col-xs-12 tac">
                  <i class="glyphicon glyphicon-chevron-down"></i>
                </div>
              </div>
            </div>
          </div>
          <div class="tab-pane" id="topies">2...</div>
          <div class="tab-pane" id="user_center" style="background-color:#fff;"> 
            <!-- Nav tabs -->
            <ul class="nav nav-tabs" role="tablist">
              <li id="my-note-toggle" role="presentation" class="active" ><a href="#my-note" aria-controls="my-note" role="tab" data-toggle="tab">我的帖子</a></li>
              <li id="like-topic-toggle" role="presentation"><a href="#like-topic" aria-controls="like-topic" role="tab" data-toggle="tab">收藏话题</a></li>
              <li id="admin-topic-toggle" role="presentation"><a href="#admin-topic" aria-controls="admin-topic" role="tab" data-toggle="tab">管理话题</a></li>
              <li id="like-note-toggle" role="presentation"><a href="#like-note" aria-controls="like-note" role="tab" data-toggle="tab">收藏帖子</a></li>
              <li id="my-settings-toggle" role="presentation"><a href="#my-settings" aria-controls="my-settings" role="tab" data-toggle="tab">用户设置</a></li>
            </ul>
            <!-- Tab panes -->
            <div class="tab-content">
              <div role="tabpanel" class="tab-pane active" id="my-note">
                <div class="jumbotron">
                  <h1>很抱歉</h1>
                  <p>你好像没有发表任何主题贴</p>
                </div>
              </div>
              <div role="tabpanel" class="tab-pane" id="like-topic">
                <div class="jumbotron">
                  <h1>很抱歉</h1>
                  <p>你好像没有收藏任何话题</p>
                </div>
              </div>
              <div role="tabpanel" class="tab-pane" id="admin-topic">
                <div class="jumbotron">
                  <h1>很抱歉</h1>
                  <p>你好像不是任何社区的管理员</p>
                </div>
              </div>
              <div role="tabpanel" class="tab-pane" id="like-note">
                <div class="jumbotron">
                  <h1>很抱歉</h1>
                  <p>你好像没有收藏任何主题</p>
                </div>
              </div>
              <div role="tabpanel" class="tab-pane" id="my-settings" style="padding:10px;">
                <form id="edit-email">
                  <label for="">修改邮箱</label>
                  <div class="form-group">
                    <input type="email" class="form-control" name="oEmail"  placeholder="旧邮箱">
                  </div>
                  <div class="form-group">
                    <input type="email" class="form-control" name="email"  placeholder="新邮箱">
                  </div>
                  <button class="btn btn-info">提交</button>
                </form>
                <form id="edit-pwd">
                  <label for="">修改密码</label>
                  <div class="form-group">
                    <input type="password" class="form-control" name="oPwd"  placeholder="旧密码">
                  </div>
                  <div class="form-group">
                    <input type="password" class="form-control" name="pwd"  placeholder="新密码">
                  </div>
                  <div class="form-group">
                    <input type="password" class="form-control" name="cPwd"  placeholder="确认密码">
                  </div>
                  <button class="btn btn-info">提交</button>                  
                </form>
                <form id="edit-header">
                  <label for="">修改头像</label>
                  <div class="form-group tac">
                    <img id="my-header" src="/header/default/header.jpg" alt="" style="width:25%;">
                  </div>
                  <div class="form-group">
                    <input type="hidden" class="form-control" name="head_img" id="nHead">
                  </div>
                </form>
                <form id="up_img" action="/up_img" enctype="multipart/form-data" method="post">
                  <div class="form-group">
                    <input type="file" class="form-control" id="uploadImg" name="file" accept="image/*">
                  </div>
                </form>
                <button class="btn btn-info" id="head_img_submit">提交</button>                                                    
              </div>
            </div>

          </div>
          <div class="tab-pane" id="settings" style="background-color:#fff;">
              <!-- Nav tabs -->
              <ul class="nav nav-tabs" role="tablist">
                <li role="presentation" class="active"><a href="#manager-home" aria-controls="manager-home" role="tab" data-toggle="tab">欢迎</a></li>
                <li role="presentation"><a href="#manager-note" aria-controls="manager-note" role="tab" data-toggle="tab">主题帖管理</a></li>
                <li role="presentation"><a href="#manager-topic" aria-controls="manager-topic" role="tab" data-toggle="tab">话题管理</a></li>
                <li role="presentation"><a href="#manager-user" aria-controls="manager-user" role="tab" data-toggle="tab">用户管理</a></li>
                <li role="presentation"><a href="#manager-badmin" aria-controls="manager-badmin" role="tab" data-toggle="tab">申请管理</a></li>
              </ul>

              <!-- Tab panes -->
              <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="manager-home">
                  <div class="jumbotron">
                    <h1>欢迎, <span id="manager-user-name">管理员</span></h1>
                    <p>欢迎使用BBS Demo 的后台管理系统</p>
                  </div>
                </div>
                <div role="tabpanel" class="tab-pane" id="manager-note" style="padding:10px;">
                  <form class="form-inline"  id="manager-note-form">
                    <div class="form-group">
                      <input type="text" class="form-control" name="name" placeholder="请输入关键字">
                    </div>
                    <button type="submit" class="btn btn-default">搜索</button>
                  </form>
                  <table class="table table-striped">
                    <thead>
                      <th>标题</th>
                      <th>作者</th>
                      <th>发表在</th>
                      <th>操作</th>
                    </thead>
                    <tbody id="manager-note-tbody">
                   
                    </tbody>
                  </table>
                </div>
                <div role="tabpanel" class="tab-pane" id="manager-topic"  style="padding:10px;">
                  <form class="form-inline" id="manager-topic-form">
                    <div class="form-group">
                      <input type="text" class="form-control" name="name" placeholder="请输入关键字">
                    </div>
                    <button type="submit" class="btn btn-default">搜索</button>
                  </form>
                  <table class="table table-striped">
                    <thead>
                      <th>名称</th>
                      <th>主题数</th>
                      <th>管理员</th>
                      <th>操作</th>
                    </thead>
                    <tbody id="manager-topic-tbody">
                   
                    </tbody>
                  </table>
                </div>
                <div role="tabpanel" class="tab-pane" id="manager-user"  style="padding:10px;">
                  <form class="form-inline" id="manager-user-form">
                    <div class="form-group">
                      <input type="text" class="form-control" name="name" placeholder="请输入关键字">
                    </div>
                    <button type="submit" class="btn btn-default">搜索</button>
                  </form>
                  <table class="table table-striped">
                    <thead>
                      <th>用户名</th>
                      <th>邮箱</th>
                      <th>状态</th>
                      <th>操作</th>
                    </thead>
                    <tbody id="manager-user-tbody">
                   
                    </tbody>
                  </table>
                </div>
                <div role="tabpanel" class="tab-pane" id="manager-badmin"  style="padding:10px;">
                  <form class="form-inline" id="manager-badmin-form">
                    <div class="form-group">
                      <input type="text" class="form-control" name="user-name" placeholder="请输入关键字">
                    </div>
                    <button type="submit" class="btn btn-default">搜索</button>
                  </form>
                  <table class="table table-striped">
                    <thead>
                      <th>用户名</th>
                      <th>真实姓名</th>
                      <th>手机</th>
                      <th>话题名称</th>
                      <th>操作</th>
                    </thead>
                    <tbody id="manager-badmin-tbody">
                   
                    </tbody>
                  </table>
                </div>
              </div>

          </div>
          <div class="tab-pane" id="tab-pane-other">4...</div>
        </div>
      </div>
      <div class="col-xs-0 col-sm-4 col-md-3 col-lg-2 chat-box" >
        <div class="chat-box-body">
          <h3 class="chat-box-title" id="chat-box-title">广场</h3>
          <div class="chat-box-screen" id="chat-box-screen"></div>
          <div id="chat-box-input" class="chat-box-input" role="emoji_container_signal"></div>
          <button class="btn btn-default chat-box-submit" id="chat-box-submit">发送</button>
        </div>
      </div>
    </div>
    <div id="bg"></div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="/socket.io/socket.io.js"></script>
    <script src="./lib/js/jquery.min.js"></script>
    <!-- <script src="./lib/js/highlight.pack.js"></script> -->
    <script src="./lib/js/jquery.mousewheel-3.0.6.min.js"></script>
    <script src="./lib/js/jquery.mCustomScrollbar.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="./lib/js/jquery.emoji.js"></script>
    <script src="./lib/js/jquery.hotkeys.js"></script>
    <script src="./lib/js/bootstrap-wysiwyg.js"></script> 
    <script src="./js/plugin/myJqPlus.js"></script>
    <script src="./js/init.js"></script>
    <script src="./js/script/index.js"></script>
  </body>
</html>